									<?php
										echo "<tr align=\"left\">";
										echo "	<td>".$data['id_type_piece']."></td>";
										echo "	<td>".$data['nom']."></td>";
										echo "	<td colspan=\"4\">";
										echo "		<FORM METHOD=\"GET\" name=\"action\">";
										echo "			<SELECT NAME=\"cond2\" SIZE=1 onchange=\"ActionSelect(this)\">";
										echo "				<OPTION  VALUE=\"view:".$data['id_type_piece']."\">Choisir une action...</OPTION>";
										echo "				<OPTION  VALUE=\"view:".$data['id_type_piece']."\">Afficher</OPTION>";
										echo "				<OPTION  VALUE=\"edit:".$data['id_type_piece']."\">Modifier</OPTION>";
										echo "				<OPTION  VALUE=\"delete:".$data['id_type_piece']."\">Supprimer</OPTION>";
										echo "				<OPTION  VALUE=\"logements:".$data['id_type_piece']."\">Voir les logements</OPTION>";
										echo "				<OPTION  VALUE=\"contrats:".$data['id_type_piece']."\">Voir les contrats</OPTION>";
										echo "				<OPTION  VALUE=\"versements:".$data['id_type_piece']."\">Voir les versements</OPTION>";
										echo "				<OPTION  VALUE=\"documents:".$data['id_type_piece']."\">Voir les documents</OPTION>";
										echo "			</SELECT>";
										echo "		</FORM>";										
										echo "	</td>";
										echo "</tr>";
										
										
										
								echo '<div id="controls">';
								echo '	<div id="perpage">';
								echo '		<select onchange="sorter.size(this.value)">';
								echo '		<option value="5">5</option>';
								echo '			<option value="10" selected="selected">10</option>';
								echo '			<option value="20">20</option>';
								echo '			<option value="50">50</option>';
								echo '			<option value="100">100</option>';
								echo '		</select>';
								echo '		<span>Nombre de ligne par page</span>';
								echo '	</div>';
								echo '	<div id="navigation">';
								echo '		<img src="images/first.gif" width="16" height="16" alt="First Page" onclick="sorter.move(-1,true)" />';
								echo '		<img src="images/previous.gif" width="16" height="16" alt="First Page" onclick="sorter.move(-1)" />';
								echo '		<img src="images/next.gif" width="16" height="16" alt="First Page" onclick="sorter.move(1)" />';
								echo '		<img src="images/last.gif" width="16" height="16" alt="Last Page" onclick="sorter.move(1,true)" />';
								echo '	</div>';
								echo '	<div id="text">Affichage Page <span id="currentpage"></span> sur <span id="pagelimit"></span></div>';
								echo '</div>';
										
										
										
										
										
										
										
										
										
										
										
										
										
										
										
										
										
										
										
										
										
									?>
										
									
									
																<br/>
									<div class="input">
										<div class="inputtext">Nom : </div>
										<div class="inputcontent"><input type="text"  name="nom" value=""/></div>
									</div>
									<div class="input nobottomborder">
										<div class="inputtext">Numero : </div>
										<div class="inputcontent"><input type="text" name="numero" value=""/></div>
									</div>
									
									<div class="">
										<input class="orangebutton" type="submit" name="ok" value="OK" />
										<input class="greybutton" type="submit" name="cancel" value="Cancel" />
									</div>		